Apparatus, method, and medium for controlling image orientation

ABSTRACT

An apparatus, method, and medium for controlling image orientation are disclosed. An orientation mode detector measures multi-directional rotational angles of a display panel and determines an orientation mode for original image data based on the measured rotational angles. A system memory stores orientation parameters corresponding to a plurality of image orientation modes. A system controller initially acquires information indicating the orientation mode from the orientation mode detector, and it extracts orientation parameters corresponding to the acquired information from the system memory. Finally, a driver changes an orientation of the original image data according to the extracted orientation parameters.

This application claims the benefit of Korean Patent Application No.10-2004-0064155, filed on Aug. 16, 2004, which is hereby incorporated byreference as if fully set forth herein.

BACKGROUND OF THE INVENTION

1. Field of the Invention

The present invention relates to a display system, and moreparticularly, to an apparatus, a method, and medium for controllingimage orientation. Although the present invention is suitable for a widescope of applications, it is particularly suitable for providing adisplay system having a display panel rotatable in multiple directions.

2. Discussion of the Related Art

Generally, a display system carries out many roles for easily providingusers with all types of images including graphic images, characterimages, and so on. Also, the display system displays the images in alandscape format. More specifically, the landscape format displays theimage so that the longitudinal length is larger than the verticallength. However, despite the convenience provided to the users,depending upon the computer applications such display formats (i.e.,landscape format) may be inconvenient and disadvantageous. For example,the landscape format may cause inconvenience to users to wish to viewdocumented images having a larger vertical length and a smallerlongitudinal length, which may also result in a waste of empty space oneach side of the image being displayed. In this case, the user wouldrather prefer to view the image in a portrait format, wherein thevertical length of the image is larger than the longitudinal length.

Therefore, in order to meet with the demands of the user to view animage in both the landscape format and the portrait format, a displaysystem rotating the image to a direction desired by the user has beendeveloped. The display system for rotating images should include adisplay panel that can be horizontally or vertically rotated, and asoftware and a hardware that can adequately modify the display directionof the displayed image, depending upon the rotation of the displaypanel.

In a conventional display system for rotating images, when the userdesires to rotate the display panel to 90 degrees (90°) to view theimage in a portrait format, the user uses a remote controller or afunction key on the display panel in order to set up the image displaydirection to a 90° rotation mode. Accordingly, the image is rotated to90 degrees (90°) through the software and hardware related to imagerotation, thereby being displayed in the portrait format. Conversely,when the user desires to rotate the image rotated to 90 degrees (90°)once again, so as to view the image in the landscape format, then theuser uses the remote controller or the function key on the display panelin order to set up the image display direction to a 0° rotation mode.Accordingly, the image is rotated back to its initial state through thesoftware and hardware related to image rotation, thereby being displayedin the landscape format.

However, the conventional display system is disadvantageous in that theuser is required to set up the display direction of the image each timethe display panel is rotated. Also, if the user is unable to capture thecorrect rotational angle, then the user has to activate repeat imagerotation mode several times before being able to view the image asdesired. Furthermore, the display panel of the related art displaysystem can rotate in only one direction, and accordingly, the image isrotated in only one direction. Therefore, the development of a displaydevice and method enabling the image to be rotated in many directions isrequired.

SUMMARY OF THE INVENTION

Accordingly, the present invention is directed to an apparatus, amethod, and medium for controlling image orientation that substantiallyobviate one or more problems due to limitations and disadvantages of therelated art.

An object of the present invention is to provide an apparatus, a method,and medium for controlling image orientation that can provide an optimumautomatic orientation of an image depending upon a multi-directionalrotation of a display panel.

Additional advantages, objects, and features of the invention will beset forth in part in the description which follows and in part willbecome apparent to those having ordinary skill in the art uponexamination of the following or may be learned from practice of theinvention. The objectives and other advantages of the invention may berealized and attained by the structure particularly pointed out in thewritten description and claims hereof as well as the appended drawings.

To achieve these objects and other advantages and in accordance with thepurpose of the invention, as embodied and broadly described herein, amethod of controlling an orientation of image data in a display systemhaving a display panel includes the steps of determining an orientationmode for original image data based on rotational angles of the displaypanel in multi-directions, and extracting orientation parameterscorresponding to the determined orientation mode. The method furtherincludes the steps of changing an orientation of the original image dataaccording to the extracted orientation parameters, storing theorientation-changed image data in a memory, and displaying the storedimage data on a display screen.

In another aspect of the present invention, an apparatus of controllingan orientation of image data includes a display panel rotatable inmulti-directions, and an orientation mode detector configured to measuremulti-directional rotational angles of the display panel, and todetermine an orientation mode for original image data based on themeasured rotational angles. The apparatus further includes a systemmemory configured to store orientation parameters corresponding to aplurality of image orientation modes, and a system controller configuredto acquire information indicating the determined image orientation modefrom the orientation mode detector, and to extract orientationparameters corresponding to the acquired information. The apparatusfurther includes a driver configured to change an orientation of theoriginal image data according to the extracted orientation parameters,wherein the orientation-changed image data is stored in the systemmemory and is displayed on a display screen.

The orientation mode detector includes at least one sensor configured tomeasure the multi-directional rotational angles of the display panel, adisplay controller configured to determine the orientation mode for theoriginal image data based on the measured rotational angles, and adisplay memory configured to store the information indicating thedetermined orientation mode, wherein the display controller sends anacknowledgement to the system controller when a request for access tothe display memory is received.

In another aspect of the present invention, a computer-readable mediumstores program code for determining an orientation mode for originalimage data in a display system. The program code, when executed by aprocessor, causing the processor to perform the steps of (a) rotating,by a user, the display panel in at least one of a first direction and asecond direction; (b) determining whether the display panel is rotatedin the first direction; and (c) when the determination in step (b) istrue, determining whether a first rotational angle of the display panelin the first direction is 90 degrees. The program code further causesthe processor to perform the steps of (d) when the determination in step(c) is true, determining whether the display panel is rotated in thesecond direction; (e) when the determination in step (d) is true,determining whether a second rotational angle of the display panel inthe second direction is 180 degrees; (f) when the determination in step(e) is true, storing an orientation mode of 270 degrees in a memory; (g)determining whether a request for access to the memory has been receivedfrom an image orientation controller; and (h) when the request is made,transmitting an acknowledgement to the image orientation controller forauthorizing access to the memory.

It is to be understood that both the foregoing general description andthe following detailed description of the present invention areexemplary and explanatory and are intended to provide furtherexplanation of the invention as claimed.

BRIEF DESCRIPTION OF THE DRAWINGS

The accompanying drawings, which are included to provide a furtherunderstanding of the invention and are incorporated in and constitute apart of this application, illustrate embodiments of the invention andtogether with the description serve to explain the principle of theinvention. In the drawings:

FIG. 1 illustrates a block diagram of an apparatus for controlling imageorientation according to the present invention;

FIGS. 2 and 3 illustrate flow charts showing process steps of a methodfor controlling image orientation according to the present invention;

FIGS. 4A to 4C illustrate examples of a display panel according to thepresent invention;

FIGS. 5A to 5C illustrate shapes of the display panel depending upon arotation angle of the display panel;

FIGS. 6A and 6B illustrate a conduction detecting switch;

FIG. 7 illustrates an example of a sensor used in the apparatus forcontrolling image orientation according to the present invention; and

FIG. 8 illustrates examples of various image orientation modes accordingto the present invention.

DETAILED DESCRIPTION OF THE INVENTION

Reference will now be made in detail to the preferred embodiments of thepresent invention, examples of which are illustrated in the accompanyingdrawings. Wherever possible, the same reference numbers will be usedthroughout the drawings to refer to the same or like parts.

The purpose of the present invention is to automatically detectrotational angles of a display panel, which is rotatable in multipledirections, such as a first rotational direction and a second rotationaldirection, and to optimally display an image by automaticallycontrolling the image orientation depending upon the detected rotationalangles. FIG. 1 illustrates a block diagram of an apparatus forcontrolling image orientation according to the present invention. And,FIGS. 2 and 3 illustrate a flow chart showing process steps of a methodfor controlling image orientation according to the present invention.Referring to FIG. 1, the apparatus for controlling image orientationaccording to the present invention includes a display panel 1, anorientation mode detector 2, and an image orientation controller 3.Herein, the display panel is rotatable in multiple directions.

FIGS. 4A to 4C illustrate various views the display panel 1 which isrotatable in multi-directions. More specifically, FIG. 4A is a rear sideview of the display panel 1, FIG. 4B is a left-side view of the displaypanel 1, and FIG. 4C is a front side view of the display panel 1.Referring to FIGS. 4A to 4C, the display panel 1 is rotatable in a firstrotational direction and a second rotational direction. Morespecifically, the display panel is rotatable about an axis perpendicularto the display panel 1 (first rotational direction), as shown in FIGS.4A and 4C. On the other hand, the display panel is also rotatable abouta horizontal axis (second rotational direction), as shown in FIGS. 4Aand 4B.

FIGS. 5A to 5C illustrate various orientations of the display panel 1according to the present invention. FIG. 5A illustrates an orientationof the display panel 1, which is rotated 180 degrees in the secondrotational direction. Also, FIG. 5B illustrates orientations of thedisplay panel 1, whish is initially rotated 90 degrees in the firstdirection and is further rotated 180 degrees in the second direction.And, FIG. 5C illustrates an orientation of the display panel 1, which isrotated 180 degrees in the first direction.

Referring back to FIG. 1, the orientation mode detector 2 includes asensor 11, a displayer controller 12, and a display memory 13. Thesensor 11 of the orientation mode detector 2 measures themulti-directional rotational angles of the display panel 1, and it coulduse any one of a wide range of sensors, such as a gyroscope sensor, ametal shell sensor, an electrical conduction detection switch, amechanical conversion switch, and so on. The sensor using the conductiondetection switch is used in the present invention.

FIGS. 6A and 6B illustrate an electrical conduction detecting switch.More specifically, FIG. 6A illustrates a condition whereby an electriccurrent is flowing, and FIG. 6B illustrates a condition whereby theelectric current is cut-off. Referring to FIG. 6A, the electric currentis flown through as a conductive ball 20 comes into contact with acontact point 22 of a terminal 21. Conversely, the electric currentcut-off as the conductive ball 20 is out of contact with the contactpoint 22 of the terminal 21, as shown in FIG. 6B.

FIG. 7 illustrates an example of a sensor used in the apparatus forcontrolling image orientation according to the present invention.Referring to FIG. 7, a contact point 22 is located at each side portionof the sensor, and the conductive ball 20 moves along the inclination ofthe sensor. As the conductive ball 20 moves along the inclined surfaceof the sensor, the contact point 22 coming into contact with theconductive ball 20 is changed. Moreover, the flow of electric current ineach contact point 22 can either be opened or cut-off due to theconductive ball 20, thereby changing the flow of the electric current.Therefore, since the current flow is changed in accordance with theinclination of the sensor, the user can sense the current flow at thesensor so as to detect the inclination.

More specifically, when the sensor, shown in FIG. 7, is attached to thedisplay panel, the user can detect the rotational angle of the displaypanel. In some cases, the user may place a light emitting diode 23 neareach contact point 22 of the sensor, in order to verify whether anelectric current is flowing through each contact point 22. The user mayalso increase the number of contact points 22 so that the rotationalangle can be detected more accurately.

Alternatively, the present invention may also include a first sensorsensing only the rotational angle of the first direction mode, and asecond senor sensing only the rotational angle of the second directionmode. In this case, each sensor may sense a more accurate rotationalangle, so as to detect only the rotational angle of a correspondingmode.

Also, the display memory 13 shown in FIG. 1 stores the measuredrotational angles of the display panel 1. Moreover, the displaycontroller 12 determines an orientation mode for original image databased on the measured rotational angles, and stores the determinedorientation mode in the display memory 13. Then, when the imageorientation controller 3 sends a request to the display controller 12for accessing to the display memory 13 to acquire the orientation modeinformation, the display controller 12 sends an acknowledgement to theimage orientation controller 3 to authorize the access. The orientationmode determined by the display controller 12 is any one of 0, 90, 180,and 270 degrees, and information indicating the orientation mode isstored in the display memory 13.

Furthermore, the image orientation controller 3 includes a system memory14, a system controller 15, and a driver 16. Herein the system memory 14stores orientation parameters corresponding to a plurality oforientation modes. Also, the system controller 15 acquires theorientation mode information for the original image data determined bythe orientation mode detector 2 by accessing to the display memory 13.Then, it extracts orientation parameters corresponding to the acquiredorientation mode information. And, the extracted orientation parametersare supplied to the driver 16. Herein, the orientation parameterssupplied to the driver 16 may consist of information on an imagestarting position, an image ending position, and a scan direction, whichcorrespond to the orientation mode information. The image orientationparameters may vary depending upon the image orientation modeinformation stored in the system memory 14. In the present invention,the image orientation mode includes first to eighth orientation modes.And so, each image orientation mode has different image orientationparameters.

FIG. 8 illustrates examples of various image orientation modes accordingto the present invention. Referring to FIG. 8, the present inventionlargely includes a normal mode and a mirror mode, wherein the normalincludes first to fourth orientation modes and the mirror mode includesfifth to eighth orientation modes. More specifically, the firstorientation mode is the original image, the second orientation mode isthe image of the first orientation mode being rotated to 90° clockwise,the third orientation mode is the image of the first orientation modebeing rotated to 180° clockwise, and the fourth orientation mode is theimage of the first orientation mode being rotated to 270° clockwise. Onthe other hand, the fifth orientation mode is a mirror of the originalimage, the sixth orientation mode is the fifth orientation mode beingrotated to 90° clockwise, the seventh orientation mode is the image ofthe fifth orientation mode being rotated to 180° clockwise, and theeighth orientation mode is the image of the fifth orientation mode beingrotated to 270° clockwise. Also, the driver 16 modifies the orientationof the original image data in accordance with the extracted imageorientation data.

A method for controlling the image orientation according to the presentinvention will now be described in detail. Referring to FIGS. 2 and 3,after the display panel 1 is rotated in at least one ofmulti-directions, the display controller 12 determines whether thedisplay panel 1 is rotated in the first rotational direction based onrotational angles measured by the sensor 11 (S101). If the display panel1 is rotated in the first direction, the display controller 12determines whether the rotational angle of the display panel in thefirst direction is 90° (S102).

Subsequently, if the rotational angle in the first direction is 90°, thedisplay controller 12 then determines whether the display panel 1 isrotated in the second rotational direction (S103). If the display panel1 is rotated in the second direction, the display controller 12determines whether the rotational angle of the display panel 1 in thesecond direction is 180° (S104). Thereafter, if the rotational angle inthe second direction is 180°, the display controller 12 stores an imageorientation mode of 270° in the display memory 13 (S105).

However, if the display controller 12 determines in step S101 that thedisplay panel 1 is not rotated in the first direction, the displaycontroller 12 determines whether the display panel 1 is rotated in thesecond direction (S106). Then, if the display panel 1 is rotated in thesecond direction, the display controller 12 determines whether therotational angle of the display panel 1 in the second direction is 180°(S107). Subsequently, if the rotational angle in the second direction is180°, the display controller 12 stores an image orientation mode of 180°in the display memory 13 (S108). On the other hand, in S106, if thedisplay panel 1 is not rotated in the second direction, then the displaycontroller 12 stores an image orientation mode of 0° in the displaymemory 13 (S109).

Additionally, in S102, if the rotational angle in the first direction isnot 90°, then the display controller 12 determines whether therotational angle of the display panel 1 in the first direction is 180°(S107). If the rotational angle in the first direction is 180°, then thedisplay controller 12 stores an image orientation mode of 180° in thedisplay memory (S108). However, if the rotational angle in the firstdirection is not 180°, then the display controller 12 stores an imageorientation mode of 0° in the display memory 13 (S109).

After an image orientation is stored in the display memory 13 in stepS110, S105, S108, or S109, the display controller 12 determines whethera request for accessing to the display memory 13 has been received fromthe system controller 15 (S111). If such request is made, then thedisplay controller 12 authorizes the access to the display memory 13 bytransmitting an acknowledgement to the system controller 15 (S112).However, if there is no request made, then the display controller 12repeats the steps starting from S101.

The system controller 15 of the image orientation controller 3periodically sends a request to the display controller 12 for acquiringimage orientation mode information stored in the display memory 13. Thenit reads the information from the display memory 13 when authorized bythe display controller 12 (S113). Thereafter, the system controller 15determines whether the acquired information is a mirror mode (S114). Ifthe information is not a mirror mode, the system controller determineswhether the acquired information is any one of the first to fourthorientation modes (S115 to S118). Then, if the acquired information isdetermined to be any one of the first to fourth orientation modes, thesystem controller 15 extracts from the system memory 14 the imageorientation data corresponding to the orientation mode of the acquiredinformation (S123). However, if the acquired information is determinedto correspond to none of the first to fourth orientation modes, then theimage orientation controlling process is terminated.

Alternatively, if the information is a mirror mode, the systemcontroller determines whether the acquired information is any one of thefifth to eighth orientation modes (S119 to S122). Then, if the acquiredinformation is determined to be any one of the fifth to eighthorientation modes, the system controller 15 extracts from the systemmemory 14 the image orientation data corresponding to the orientationmode of the acquired information (S123). However, if the acquiredinformation is determined to correspond to none of the fifth to eighthorientation modes, then the image orientation controlling process isterminated. Furthermore, the driver 16 modifies the orientation of theoriginal image data in accordance with the extracted image orientationdata and stores the modified image orientation to the system memory(S124). Finally, the system controller 15 displays the stored image dataon the display panel 1 (S125).

As described above, the present invention enables the rotational angleof a display panel, which is rotatable in multiple directions, to beautomatically detected and can allow an optimum orientation of the imagedepending upon the detected rotational angle. Although the presentinvention is suitable for a wide scope of applications, it is alsointended that the present invention covers the modifications andvariations of this invention provided they come within the scope of theappended claims and their equivalents. For example, the presentinvention can be applied in combination with any one of a computerprogramming software, a firmware, and a hardware. As a preparatory stepfor fabricating the apparatus according to the present invention orperforming the method according to the present invention, a computerprogramming code (or a software or firmware) according to the presentinvention, is typically stored in at least one machine-readable memorymedium, such as a semiconductor memory including a fixed (or hard)drive, a diskette, an optical disc, a magnetic tape, a read only memory(ROM), a programmable read only memory (PROM), and so on, and productsare fabricated by using the same medium.

A fabricated product including a computer programming code are used bydirectly processing the code from a memory device, by copying the codefrom the memory device to another memory device, such as a hard disc, arandom-access memory (RAM), and so on, or by transmitting the codethrough a network so as to be processed at remote distances. The methodaccording to the present invention is performed by processing a codeincluded in an adequate standard computer hardware, thereby combining atleast one machine-readable memory device including the code according tothe present invention. The apparatus performing the aspects of thepresent invention may be at least one computer and memory systemincluding or having network access to a computer program encodedaccording to the present invention.

The apparatus, method, and medium for controlling image orientationaccording to the present invention automatically detects a rotationalangle of a display panel, thereby allowing the user to avoid theinconvenience of resetting the image orientation each time an image isviewed. Also, since the image orientation is optimally set in accordancewith the detected rotational angle, the user is provided with a moreimage. Finally, since the image orientation is controlled in accordancewith a first mode rotating the display panel either clockwise orcounterclockwise along the central axis of the display panel and, also,a second mode rotating the display panel counterclockwise along one of ahorizontal axis and a vertical axis of the display panel, the user canview a desired image more conveniently.

It will be apparent to those skilled in the art that variousmodifications and variations can be made in the present inventionwithout departing from the spirit or scope of the inventions. Thus, itis intended that the present invention covers the modifications andvariations of this invention provided they come within the scope of theappended claims and their equivalents.

1. A method of controlling an orientation of image data in a displaysystem having a display panel, the method comprising: determining anorientation mode for original image data based on rotational angles ofthe display panel in multi-directions; extracting orientation parameterscorresponding to the determined orientation mode; changing anorientation of the original image data according to the extractedorientation parameters and storing the orientation-changed image data ina first memory; and displaying the stored image data on a displayscreen.
 2. The method of claim 1, wherein the determining an orientationmode for original image data comprises: (a) rotating, by a user, thedisplay panel in at least one of a first direction and a seconddirection; (b) determining whether the display panel is rotated in thefirst direction; (c) when the determination in step (b) is true,determining whether a first rotational angle of the display panel in thefirst direction is 90 degrees; (d) when the determination in step (c) istrue, determining whether the display panel is rotated in the seconddirection; (e) when the determination in step (d) is true, determiningwhether a second rotational angle of the display panel in the seconddirection is 180 degrees; and (f) when the determination in step (e) istrue, storing an orientation mode of 270 degrees in a second memory. 3.The method of claim 2, wherein the determining an orientation mode fororiginal image data further comprises: (g) determining whether a requestfor access to the second memory has been received from an imageorientation controller; and (h) when the request is received,transmitting an acknowledgement to the image orientation controller forauthorizing access to the second memory.
 4. The method of claim 2,wherein the first direction is about an axis perpendicular to thedisplay panel.
 5. The method of claim 4, wherein the second direction isabout a horizontal axis.
 6. The method of claim 2, wherein thedetermining an orientation mode for original image data furthercomprises: (i) when the determination in step (b) is false, determiningwhether the display panel is rotated in the second direction; (j) whenthe determination in step (i) is true, determining whether the secondrotational angle is 180 degrees; (k) when the determination in step (j)is true, storing an orientation mode of 180 degrees in the secondmemory.
 7. The method of claim 6, wherein the determining an orientationmode for original image data further comprises: (l) when thedetermination in step (i) is false, storing an orientation mode of 0degrees in the second memory.
 8. The method of claim 6, wherein thedetermining an orientation mode for original image data furthercomprises: (m) when the determination in step (j) is false, storing anorientation mode of 0 degrees in the second memory.
 9. The method ofclaim 2, wherein the determining an orientation mode for original imagedata further comprises: (n) when the determination in step (c) is false,determining whether the first rotational angle is 180 degrees; and (o)when the determination in step (n) is true, storing an orientation modeof 180 degrees.
 10. The method of claim 9, wherein the determining anorientation mode for original image data further comprises: (p) when thedetermination in step (n) is false, storing an orientation mode of 0degrees.
 11. The method of claim 2, wherein the determining anorientation mode for original image data further comprises: (q) when thedetermination in step (d) is false, storing an orientation mode of 90degrees in the memory.
 12. The method of claim 2, wherein thedetermining an orientation mode for original image data furthercomprises: (r) when the determination in step (e) is false, storing anorientation mode of 0 degrees in the memory.
 13. The method of claim 1,wherein the orientation parameters comprise at least one of an imagestart position, an image end position, and a scanning direction, whichcorrespond to the determined orientation mode.
 14. An apparatus ofcontrolling an orientation of image data, the apparatus comprising: adisplay panel being rotatable in multi-directions; an orientation modedetector configured to measure multi-directional rotational angles ofthe display panel, and to determine an orientation mode for originalimage data based on the measured rotational angles; a system memoryconfigured to store orientation parameters corresponding to a pluralityof image orientation modes; a system controller configured to acquireinformation indicating the determined orientation mode from theorientation mode detector, and to extract orientation parameterscorresponding to the acquired information; and a driver configured tochange an orientation of the original image data according to theextracted orientation parameters, wherein the orientation-changed imagedata is stored in the system memory and is displayed on a displayscreen.
 15. The apparatus of claim 14, wherein the display panel isrotatable about an axis perpendicular to the display panel.
 16. Theapparatus of claim 15, wherein the display panel is rotatable about ahorizontal axis.
 17. The apparatus of claim 14, wherein the orientationmode detector comprises: at least one sensor configured to measure themulti-directional rotational angles of the display panel; a displaycontroller configured to determine the orientation mode for the originalimage data based on the measured rotational angles; and a display memoryconfigured to store the information indicating the determinedorientation mode, wherein the display controller sends anacknowledgement to the system controller when a request for access tothe display memory is received.
 18. The apparatus of claim 17, whereinthe at least one sensor comprises any one of a gyroscope sensor, a metalshell sensor, a electrical conduction detection switch, and a mechanicalconversion switch.
 19. The apparatus of claim 17, wherein the at leastone sensor comprises: a first sensor configured to measure a firstrotational angle of the display panel in a first direction about an axisperpendicular to the display panel; and a second sensor configured tomeasure a second rotational angle of display panel in a second directionabout an horizontal axis.
 20. The apparatus of claim 17, wherein theorientation mode for the original image data is any one of 0, 90, 180,and 270 degrees orientation modes.
 21. The apparatus of claim 14,wherein the extracted orientation parameters comprise at least one of animage start position, an image end position, and a scanning direction,which correspond to the determined orientation mode.
 22. Acomputer-readable medium storing program code for determining anorientation mode for original image data in a display system, theprogram code, when executed by a processor, causing the processor toperform the steps of: (a) rotating, by a user, the display panel in atleast one of a first direction and a second direction; (b) determiningwhether the display panel is rotated in the first direction; (c) whenthe determination in step (b) is true, determining whether a firstrotational angle of the display panel in the first direction is 90degrees; (d) when the determination in step (c) is true, determiningwhether the display panel is rotated in the second direction; (e) whenthe determination in step (d) is true, determining whether a secondrotational angle of the display panel in the second direction is 180degrees; (f) when the determination in step (e) is true, storing anorientation mode of 270 degrees in a memory; (g) determining whether arequest for access to the memory has been received from an imageorientation controller; and (h) when the request is made, transmittingan acknowledgement to the image orientation controller for authorizingaccess to the memory.